#include <OgreLight.h>
#include <OgrePrerequisites.h>
#include <OgreMath.h>

#define DLL_EXPORT __declspec(dllexport)

using namespace Ogre;

extern "C" DLL_EXPORT void call_Light_setPosition(Light *ptr, float x, float y, float z)
{
	ptr->setPosition(x, y, z);
}

extern "C" DLL_EXPORT void call_Light_setType(Light *ptr, Light::LightTypes type)
{
	ptr->setType(type);
}

extern "C" DLL_EXPORT void call_setDiffuseColour(Light *ptr, float red, float green, float blue)
{
	ptr->setDiffuseColour(red, green, blue);
}

extern "C" DLL_EXPORT void call_setSpecularColour(Light *ptr, float red, float green, float blue)
{
	ptr->setSpecularColour(red, green, blue);
}

extern "C" DLL_EXPORT void call_Light_setDirection(Light *ptr, float x, float y, float z)
{
	ptr->setDirection(x, y, z);
}

extern "C" DLL_EXPORT void call_setSpotlightRange(Light *ptr, Radian *innerAngle, Radian *outerAngle, float falloff)
{
	ptr->setSpotlightRange(*innerAngle, *outerAngle, falloff);
}